package com.software.sqlite.service;

import com.software.sqlite.entity.TbSysUser;

/**
 * 账户信息Service
 */
public interface ITbSysUserService {


    /**
     * login
     * @param userName
     * @param password
     * @return
     */
    TbSysUser getLogin(String userName, String password);
    /**
     * 添加/修改
     * @param model
     * @return
     */
    boolean edit(TbSysUser model);

    boolean updatePwd(Long userId,String password,String newPassword);

    /**
     * 导入Excel
     * @param model
     * @throws Exception
     */
    void importData(TbSysUser model)throws Exception;

    /**
     * 导出Excel
     * @param model
     * @throws Exception
     */
    void exportData(TbSysUser model)throws Exception;

}
